package com.business.system.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author: xudy
 * @date: 2018/04/07 15:24
 * @description:
 */
@Component
public class TestTask {
    @Scheduled(cron = "0 0 0 1 * ?")
    public void test(){
        System.out.println("定时");
    }
}